#ifndef __serverpasswd_H__
#define __serverpasswd_H__

//#include "func.h"                                                                            

//使用cmd.c里面的小火车
//typedef struct Train_s{
//    int length;
//    char buff[1000];
//} train_t;
                                                                            
#define PASSWORD_CHECK(ret)\
    if(ret <= 0){\
        return NULL;\
    }

char* userLogin(int peerfd, char* username);
void getSalt(char* salt, char* ciphertext);


#endif
